<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GetWindowState</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetWindowState()</font></b></p>
<p><b>Syntax</b></p><blockquote>

State = <font color="#006666"><b>GetWindowState</b></font>(#Window)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Checks whether the specified window is maximized, minimized or displayed normally. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Window</i></td>
<td width="90%"> 
 
The window to use. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



It can be one of the following values: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Window_Normal</font>  : The window is neither maximized nor minimized.
  <font color="#924B72">#PB_Window_Maximize</font>: The window is maximized.
  <font color="#924B72">#PB_Window_Minimize</font>: The window is minimized.
</font></pre>

</blockquote><p><b>Remarks</b></p><blockquote>



The status of a window can be changed with the <a href="setwindowstate.html">SetWindowState()</a> function. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setwindowstate.html">SetWindowState()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=getwindowdata.html>GetWindowData()</a> - <a href=index.html>Window Index</a> - <a href=getwindowtitle.html>GetWindowTitle()</a> -&gt;



</body></html>